@charset "UTF-8";
@import '_reset';
//定宽
.web {
  min-width: 1266px;
}
.container {
  width: 1226px;
  margin: 0 auto;
}
.bg_grey {
  width:100%;
  background: #f5f5f5;
}
//头部
header {
  background: #333;
  font-size: 12px;
  line-height: 40px;
  .header_nav {
    display: inline-block;
    height: 40px;
    float: left;
    a {
      color: #b0b0b0;
      &:hover {
        color: #fff;
      }
    }
  }
  .header_info {
    display: inline-block;
    height: 40px;
    float: right;
    a {
      color: #b0b0b0;
      &:hover {
        color: #fff;
      }
    }
  }
  .topbar-cart {
    display: inline-block;
    height: 40px;
    float: right;
    width: 120px;
    margin-left: 15px;
    position: relative;
    z-index: 1;
    a {
      display: block;
      color: #b0b0b0;
      height: 100%;
      background: #424242;
      i {
        margin-right: 4px;
        font-size: 20px;
        display: inline-block;
        vertical-align: middle;
      }
      &:hover {
        color: #ff6700;
        background: #fff;
      }
      &:hover + .cart_menu {
        display: block;
      }
    }
    .cart_menu {
      display: none;
      position: absolute;
      right: 0;
      top: 40px;
      width: 316px;
      padding: 15px 0 0;
      color: #424242;
      background: #fff;
      border: 1px solid #e0e0e0;
      border-top: 0;
      -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
      .loading {
        margin: 5px 20px 20px;
        text-align: center;
      }
    }
  }
  span.line {
    margin: 0 .3em;
    color: #424242;
  }
}
//导航栏
.nav {
  .logo {
    display: inline-block;
    margin: 20px 0;
    vertical-align: top;
    a {
      display: block;
      width: 55px;
      height: 55px;
      background: url("../img/index/logo.png") no-repeat left top 100%/100%;
    }
  }
  .imggif {
    display: inline-block;
    vertical-align: middle;
    width: 165px;
    height: 100px;
    overflow: hidden;
    a {
      width: 100%;
      height: 100%;
      display: block;
      background: url("../img/index/yiyuanyingbijiben.gif") no-repeat left 50% top 50%;
    }
  }
  .nav-list {
    width: 620px;
    height: 100%;
    line-height: 100px;
    display: inline-block;
    vertical-align: middle;
    ul {
      display: -webkit-flex;
      display: flex;
      justify-content: space-between;
      li {
        display: inline-block;
        a {
          color: #333;
          &:hover {
            color: #ff6700;
          }
        }
      }
    }
  }
  .search {
    float: right;
    font-size: 0;
    margin: 25px 0;
    position: relative;
    .search_div {
      width: 223px;
      height: 50px;
      border: 1px solid #e0e0e0;
      padding: 0 10px;
      display: inline-block;
      vertical-align: middle;
    }
    .search_button {
      width: 52px;
      height: 50px;
      border: 1px solid #e0e0e0;
      border-left: none;
      background: transparent;
      display: inline-block;
      vertical-align: middle;
      &:hover {
        background-color: #ff6700;
        color: #fff;
        border: 1px solid #ff6700;
      }
    }
    .search_list {
      width: 223px;
      position: absolute;
      left: 0;
      top: 50px;
      border: 1px solid #ff6700;
      border-top: 0;
      background: #fff;
      display: none;
      ul {
        li {
          font-size: 12px;
          color: #424242;
          a {
            position: relative;
            display: block;
            padding: 6px 15px;
            font-size: 12px;
            color: #424242;
            span {
              position: absolute;
              right: 15px;
              color: #b0b0b0;
            }
          }
          &:hover {
            background: #fafafa;
          }
        }
      }
    }
  }
}
//底部
footer {
  .footer_service {
    padding: 27px 0;
    border-bottom: 1px solid #e0e0e0;
    li {
      float: left;
      width: 19.8%;
      height: 25px;
      font-size: 16px;
      line-height: 25px;
      text-align: center;
      a {
        color: #616161;
        display: block;
        transition: color .2s linear;
        i {
          margin-right: 6px;
          font-size: 24px;
          line-height: 24px;
          vertical-align: -4px;
        }
        &:hover {
          color: #f56600;
        }
      }
      &:not(:first-child) {
        border-left: 1px solid #e0e0e0;
      }
    }
  }
  .footer_link {
    padding: 40px 0;
    dl {
      float: left;
      width: 160px;
      height: 112px;
      margin: 0;
      dt {
        margin: -1px 0 26px;
        font-size: 14px;
        line-height: 1.25;
        color: #424242;
      }
      a {
        display: block;
        color: #757575;
        margin: 10px 0 0;
        font-size: 12px;
        dd {

        }
        &:hover {
          color: #f56600;
        }
      }
    }
    .contact {
      float: right;
      width: 251px;
      height: 112px;
      border-left: 1px solid #e0e0e0;
      text-align: center;
      color: #616161;
      p.phone {
        margin: 0 0 5px;
        font-size: 22px;
        line-height: 1;
        color: #ff6700;
      }
      p {
        margin: 0 0 16px;
        font-size: 12px;
      }
      .contact_btn {
        display: inline-block;
        width: 118px;
        height: 28px;
        font-size: 12px;
        line-height: 28px;
        background: #fff;
        color: #ff6700;
        border: 1px solid #ff6700;
        transition: all .2s linear;
        &:hover {
          background-color: #ff6700;
          color: #fff;
        }
      }
    }
  }
  .footer_info {
    padding: 30px 0;
    font-size: 12px;
    .footer_logo {
      float: left;
      width: 57px;
      height: 57px;
      margin-right: 10px;
      background: url("../img/index/logo.png") no-repeat 50% 50%;
    }
    .footer_info_text {
      float: left;
      color: #b0b0b0;
      p {
        a {
          color: #b0b0b0;
          transition: color .2s linear;
          &:hover {
            color: #f56600;
          }
        }
      }
    }
    .footer_info_img {
      float: right;
      height: 28px;
      margin: 4px 0 0;
      li {
        float: left;
        width:85px;
        height: 28px;
        margin-left: 7px;
        img {
          width:100%;
        }
      }
    }
  }
  .footer_lastTitle {
    clear: both;
    margin: 0 auto;
    padding:30px;
    width: 267px;
    height: 19px;
    background: url("../img/index/slogan2016.png") no-repeat center 0;
  }
}

//面包屑
.breadcrumbs {
  height: 40px;
  font-size: 12px;
  line-height: 40px;
  background: #f5f5f5;
  color: #616161;
  a {
    display: inline-block;
    color: #757575;
    position: relative;
    padding: 0 4px;
    &:hover {
      color: #f56600;
    }
    &:not(:first-child)::before {
      content: ">";
      display: inline-block;
      width: 10px;
      height: 10px;
      margin-right: 6px;
      line-height: 10px;
    }
  }
}